
const accountInfo = uni.getAccountInfoSync()

const { envVersion } = accountInfo.miniProgram

const baseUrl = {
  // 开发
  develop: 'https://plat-uat.atlastire.cn',
  
  // 体验版
  // SIT: http://plat-sit.ehzcloud.com
  // UAT: 'https://plat-uat.atlastire.cn',
  trial: 'https://plat-uat.atlastire.cn',
  
  // 正式版
  release: 'https://plat.atlastire.cn',
}

module.exports = {
  baseUrl: baseUrl[envVersion]
}